package com.yang.demo.common;

import lombok.Data;

import java.util.HashMap;

@Data
public class QueryPageParam {
    // 默认值
    private static int PAGE_SIZE = 20;
    private static int PAGE_NUM = 1;

    // 接受前端来的数据(固定参数)
    private int pageSize = PAGE_SIZE;
    private int pageNum = PAGE_NUM;
    // 接受前端来的数据(随机参数)
    private HashMap<String, Object> param = new HashMap<>();//输入时格式要一致
}
